package com.jk.mapper;

import com.jk.bean.Author;
import com.jk.bean.PingLun;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CommentMapper {

    List<PingLun> getPingLun(PingLun pl);

    void delPingLun(@Param("id") String id);

    PingLun updaPingLun(String id);

    void uptadePingLun(PingLun p);

    void addPingLun(PingLun p);

    @Select("select * from author")
    List<Author> getAuthor();
}
